package com.objcat.tools;

import org.aopalliance.intercept.MethodInterceptor;
import org.aopalliance.intercept.MethodInvocation;

public class StatisticalTimeInterceptor implements MethodInterceptor {
    public Object invoke(MethodInvocation invocation) throws Throwable {
        System.out.println("1");
        Object result = invocation.proceed();
        System.out.println("2");
        return result;
    }
}